<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>团队小助手系统架构图</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 10px;
            margin: 0;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            text-align: center;
            padding: 20px;
        }
        
        .header h1 {
            font-size: 1.8em;
            margin-bottom: 5px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .header p {
            font-size: 1em;
            opacity: 0.9;
        }
        
        .content {
            padding: 20px;
        }
        
        .architecture-diagram {
            margin-bottom: 20px;
        }
        
        .layer {
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            border: 2px solid #e0e0e0;
        }
        
        .layer-header {
            padding: 10px 20px;
            font-weight: bold;
            font-size: 1.1em;
            color: white;
            text-align: center;
        }
        
        .presentation-layer {
            border-color: #667eea;
        }
        
        .presentation-layer .layer-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .application-layer {
            border-color: #f093fb;
        }
        
        .application-layer .layer-header {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        
        .data-layer {
            border-color: #4facfe;
        }
        
        .data-layer .layer-header {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }
        
        .layer-content {
            background: #f8f9fa;
            padding: 15px;
        }
        
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 10px;
            margin-top: 10px;
        }
        
        .tech-item {
            background: white;
            padding: 10px;
            border-radius: 6px;
            border-left: 3px solid #4facfe;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            font-size: 0.9em;
        }
        
        .tech-item:hover {
            transform: translateY(-2px);
        }
        
        .tech-item strong {
            color: #2c3e50;
            display: block;
            margin-bottom: 3px;
            font-size: 0.85em;
        }
        
        .modules-section {
            margin: 40px 0;
        }
        
        .modules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .module-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-top: 4px solid #4facfe;
        }
        
        .module-card h4 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3em;
        }
        
        .module-layer {
            margin-bottom: 10px;
            padding: 8px 12px;
            background: #e3f2fd;
            border-radius: 5px;
            font-size: 0.9em;
        }
        
        .tech-stack-section {
            margin: 40px 0;
        }
        
        .tech-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            margin-top: 20px;
        }
        
        .tech-category {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .tech-category h4 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3em;
            border-bottom: 2px solid #4facfe;
            padding-bottom: 10px;
        }
        
        .tech-list {
            list-style: none;
        }
        
        .tech-list li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }
        
        .tech-list li:last-child {
            border-bottom: none;
        }
        
        .features-section {
            margin: 40px 0;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .feature-item {
            background: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .feature-item:hover {
            transform: translateY(-5px);
        }
        
        .feature-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .section-title {
            font-size: 1.5em;
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 2px;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            border-radius: 2px;
        }
        
        .arrow {
            text-align: center;
            font-size: 1.5em;
            color: #4facfe;
            margin: 10px 0;
        }
        
        @media (max-width: 768px) {
            body {
                padding: 5px;
            }
            
            .container {
                margin: 0;
                border-radius: 5px;
            }
            
            .header {
                padding: 15px;
            }
            
            .header h1 {
                font-size: 1.5em;
            }
            
            .content {
                padding: 15px;
            }
            
            .tech-grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 8px;
            }
            
            .tech-item {
                padding: 8px;
                font-size: 0.8em;
            }
            
            .tech-item strong {
                font-size: 0.75em;
            }
            
            .layer-header {
                font-size: 1em;
                padding: 8px 15px;
            }
            
            .section-title {
                font-size: 1.3em;
                margin-bottom: 10px;
            }
            
            .arrow {
                font-size: 1.2em;
                margin: 8px 0;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>🏗️ 团队小助手系统架构图</h1>
            <p>现代化前后端分离架构设计</p>
        </div>
        
        <div class="content">
            <!-- 系统架构图 -->
            <div class="architecture-diagram">
                <h2 class="section-title">系统整体架构</h2>
                
                <div class="layer presentation-layer">
                    <div class="layer-header">用户界面层 (Presentation Layer)</div>
                    <div class="layer-content">
                        <strong>Vue 3 前端应用</strong>
                        <div class="tech-grid">
                            <div class="tech-item"><strong>UI组件库:</strong> Element Plus</div>
                            <div class="tech-item"><strong>路由管理:</strong> Vue Router</div>
                            <div class="tech-item"><strong>状态管理:</strong> Pinia</div>
                            <div class="tech-item"><strong>HTTP客户端:</strong> Axios</div>
                            <div class="tech-item"><strong>编辑器:</strong> Vditor Markdown</div>
                            <div class="tech-item"><strong>构建工具:</strong> Vite</div>
                        </div>
                    </div>
                </div>
                
                <div class="arrow">↓ HTTP/HTTPS ↓</div>
                
                <div class="layer application-layer">
                    <div class="layer-header">应用服务层 (Application Layer)</div>
                    <div class="layer-content">
                        <strong>Spring Boot 3.3.1 后端服务 (Java 17)</strong>
                        <div class="tech-grid">
                            <div class="tech-item"><strong>安全框架:</strong> Spring Security</div>
                            <div class="tech-item"><strong>控制器层:</strong> Spring Web MVC</div>
                            <div class="tech-item"><strong>数据访问:</strong> Spring Data JPA</div>
                            <div class="tech-item"><strong>持久层:</strong> MyBatis</div>
                            <div class="tech-item"><strong>分页插件:</strong> PageHelper</div>
                            <div class="tech-item"><strong>工具类库:</strong> HuTool</div>
                            <div class="tech-item"><strong>文档处理:</strong> CommonMark</div>
                        </div>
                    </div>
                </div>
                
                <div class="arrow">↓ JDBC ↓</div>
                
                <div class="layer data-layer">
                    <div class="layer-header">数据持久层 (Data Layer)</div>
                    <div class="layer-content">
                        <strong>MySQL 8.0 数据库</strong>
                        <div class="tech-grid">
                            <div class="tech-item"><strong>字符集:</strong> UTF8MB4</div>
                            <div class="tech-item"><strong>用户管理:</strong> users, groups</div>
                            <div class="tech-item"><strong>项目管理:</strong> projects, work_items</div>
                            <div class="tech-item"><strong>知识管理:</strong> knowledge_spaces, documents</div>
                            <div class="tech-item"><strong>权限控制:</strong> space_members</div>
                            <div class="tech-item"><strong>文件管理:</strong> document_folders</div>
                        </div>
                    </div>
                </div>
            </div>
            

        </div>
    </div>
</body>
</html>